how to find second highest element from a list